home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 125
/
Freelog_MarsAvril2015_No125.iso
/
Musique
/
Quod Libet
/
quodlibet-3.3.0-installer.exe
/
bin
/
gi
/
overrides
/
Pango.pyc
(
.txt
)
< prev
Wrap
Python Compiled Bytecode
|
2014-12-31
|
1KB
|
36 lines
# Source Generated with Decompyle++
# File: in.pyc (Python 2.7)
from overrides import override
from module import get_introspection_module
Pango = get_introspection_module('Pango')
__all__ = []
class FontDescription(Pango.FontDescription):
def __new__(cls, string = None):
if string is not None:
return Pango.font_description_from_string(string)
return None.FontDescription.__new__(cls)
def __init__(self, *args, **kwargs):
return super(FontDescription, self).__init__()
FontDescription = override(FontDescription)
__all__.append('FontDescription')
class Layout(Pango.Layout):
def __new__(cls, context):
return Pango.Layout.new(context)
def set_markup(self, text, length = -1):
super(Layout, self).set_markup(text, length)
Layout = override(Layout)
__all__.append('Layout')